﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using ZLCMS.Web.Wap.Code;
using ZLCMS.Data.Model;
using NHibernate;
using DotNet.Common.NHibernateUtil;

namespace ZLCMS.Web.Wap.Web
{
    public partial class GetScoreCard : MemberPageBase
    {
        public ShopScoreRule CardRule { get; set; }

        protected void Page_Load(object sender, EventArgs e)
        {
            using(ISession session = SessionFactoryHelper.CreateSession())
            {
                CardRule = session.Get<ShopScoreRule>(Int32.Parse(Request["uid"]));
            }
        }
    }
}